package com.sonic.error.base;

import com.sonic.error.logger.ErrorCodeException;

/**
 * MQException class.<br>
 *
 * @author <b>Adam Dec</b><br><i>Copyright &#169; 2008</i>
 * @category com.sonic.error.base
 * @project mQuotes-Middleware
 * @since 2008-10-05
 * @version 1.0
 */
@SuppressWarnings("serial")
public class MQException extends ErrorCodeException {
	
	public MQException() {
		super();
	}
	
	/**
	 * @param message
	 */
	public MQException(String message) {
		super(message);
	}
	
	/**
	 * @param message
	 * @param errorCode
	 */
	public MQException(String message, int errorCode) {
		super(message, errorCode);
	}
	
	/**
	 * @param message
	 * @param errorCode
	 * @param rootCause
	 */
	public MQException(String message, int errorCode, Throwable rootCause) {
		super(message, errorCode, rootCause);
	}
	
	/**
	 * @param message
	 * @param rootCause
	 */
	public MQException(String message, Throwable rootCause) {
		super(message, rootCause);
	}
	
	/**
	 * @param rootCause
	 */
	public MQException(ErrorCodeException rootCause) {
		super(rootCause);
	}
	
	/**
	 * @param rootCause
	 */
	public MQException(Throwable rootCause) {
		super(rootCause);
	}	
}
